package com.flame.shapeville.component.task1.shape3D;

import javafx.scene.paint.Color;
import javafx.scene.shape.Box;

/**
 * Represents a cube used in Task 1.
 * <p>
 * This class renders a regular 3D cube using JavaFX's Box shape.
 *
 * @author Flame Dev Team
 * @version 1.0
 * @since 2025-05-12
 */
public class JfCube extends JfShape3D {

    /**
     * Constructs a new cube with the specified size.
     *
     * @param size the width, height, and depth of the cube
     */
    public JfCube(double size) {
        super(size);
        shape = new Box(size * 0.8, size * 0.8, size * 0.8);
        initBaseParams(Color.CYAN);
    }
}
